﻿using System;
using System.Collections.Generic;
using Xoohoo.Models;
using Xoohoo.Models.InputModels;

namespace Xoohoo.Services
{
    public interface IPermissionService
    {
        Permission GetItem(Guid permissionID);
        Permission GetItem(string permissionName);
        List<Permission> GetList();
        ModelResult Save(PermissionInput permissionInput);
        ModelResult Save(IEnumerable<PermissionInput> permissions);
        bool Remove(Guid permissionID);
        bool Remove(IEnumerable<Guid> iDs);
        bool Move(Guid permissionID, MovingTarget target);
    }
}
